import Vue from 'vue'
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload, {
  preLoad: 1.3, //预加载高度
  error: require('../assets/images/img-loading.gif'), //显示报错图
  loading: require('../assets/images/img-loading.gif'), //显示loading加载图
  attempt: 1, //	尝试次数
  // the default is ['scroll', 'wheel', 'mousewheel', 'resize', 'animationend', 'transitionend']
  listenEvents: ['scroll', 'wheel', 'mousewheel', 'resize', 'animationend', 'transitionend' ] //监听事件
})